﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Reflection;
using XEAS.Framework.Plugin;

namespace XEAS
{
    public partial class MainForm : XEAS.Controls.FormBase, iHost
    {
        public MainForm()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            Assembly asembly = Assembly.LoadFrom(@"Plugins/System/XEAS.Plugins.PluginManager.dll");
            iPlugin x = (iPlugin)asembly.CreateInstance("XEAS.Plugins.PluginManager.Plugin", true);
            x.Start(this);
        }

        #region iHost Members

        public string CurrentUsername
        {
            get { throw new NotImplementedException(); }
        }

        public List<iPlugin> AllowancePlugin
        {
            get { throw new NotImplementedException(); }
        }

        public List<XEAS.Framework.Plugin.Module> AllowanceModule(iPlugin plugin)
        {
            throw new NotImplementedException();
        }

        public List<Function> AllowanceFunction(XEAS.Framework.Plugin.Module module)
        {
            throw new NotImplementedException();
        }

        public string CacheFolder
        {
            get { throw new NotImplementedException(); }
        }

        public string PluginFolder
        {
            get { throw new NotImplementedException(); }
        }

        public string SystemFolder
        {
            get { throw new NotImplementedException(); }
        }

        #endregion
    }
}
